package com.house.model;

import java.math.BigDecimal;
import java.util.Date;

public class House {
    private Integer id;

    private Integer userid;

    private Integer typeid;

    private Integer streetid;

    private Integer floor;

    private BigDecimal price;

    private Date updatetime;

    private String topic;

    private BigDecimal longitude;

    private BigDecimal latitude;

    private Integer state;

    private Integer districtid;

    private String content;

    public House(Integer id, Integer userid, Integer typeid, Integer streetid, Integer floor, BigDecimal price, Date updatetime, String topic, BigDecimal longitude, BigDecimal latitude, Integer state, Integer districtid, String content) {
        this.id = id;
        this.userid = userid;
        this.typeid = typeid;
        this.streetid = streetid;
        this.floor = floor;
        this.price = price;
        this.updatetime = updatetime;
        this.topic = topic;
        this.longitude = longitude;
        this.latitude = latitude;
        this.state = state;
        this.districtid = districtid;
        this.content = content;
    }

    public House() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Integer getStreetid() {
        return streetid;
    }

    public void setStreetid(Integer streetid) {
        this.streetid = streetid;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic == null ? null : topic.trim();
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDistrictid() {
        return districtid;
    }

    public void setDistrictid(Integer districtid) {
        this.districtid = districtid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}